package com.example.travel.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tab_route")
public class Route {

    @TableId(type = IdType.AUTO)
    private Integer rid;

    @TableField("rname")
    private String rName;

    private double price;

    @TableField("routeIntroduce")
    private String routeIntroduce;

    @TableField("rflag")
    private String rFlag;

    @TableField("rdate")
    private String rDate;

    @TableField("isThemeTour")
    private String isThemeTour;

    private int count;

    private Integer cid;

    @TableField(value = "cname",exist = false)
    private String cName;

    @TableField("rimage")
    private String rImage;

    private Integer sid;

    @TableField(value = "sname",exist = false)
    private String sName;

    @TableField("sourceId")
    private String sourceId;

    @TableField("is_theme_tour")
    private String is_theme_tour;

    @TableField("route_introduce")
    private String route_introduce;

    @TableField("source_id")
    private String source_id;

}
